import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const NOTICE: AppRouteRecordRaw = {
  path: '/notice',
  name: 'notice',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '公告管理',
    icon: 'icon-notification',
    requiresAuth: false,
    order: 3,
  },
  children: [
    {
      path: 'index2',
      name: 'index2',
      component: () => import('@/views/notice/index.vue'),
      meta: {
        locale: '公告列表',
        requiresAuth: false,
        roles: ['*'],
      },
    },
  ],
};

export default NOTICE;
